package com.cuit.riskassessment.dao.client;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cuit.riskassessment.vo.Client;

public interface ClientMapper {
	/**
	 * 查询所有客户户
	 * @return Client集合
	 */
	public List<Client> getAllClients();
	/**
	 * 增加一个客户
	 */
	public int addClient(Client client);
	/**
	 * 修改一个客户
	 */
	public int updateClient(Client client);
	/**
	 * 删除一个客户
	 */
	public int delClient(int id);
	/**
	 * 精确查询一个用户
	 */
	public List<Client> getClientByName(@Param(value="name")String name,@Param(value="val")String val);
}
